 $(function(){
                        NProgress.configure({
                            template: $('#splash-template').html()
                        });
                        NProgress.start();
                    });
                    $(window).load(function(){
                        NProgress.done();
                    })